package com.catsic.mod.form;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonFormat.Shape;
/**
 * 
 * @author zhoukai
 * 消息管理的Form
 */
public class AnnouncesForm implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1040134884596080264L;

	/**
	 * id
	 */
    private String id;
    
	/**
	 * 标题
	 */
    private String title;
    
	/**
	 * 内容
	 */
    private String content;
    
    /**
	 * 创建时间
	 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",shape = Shape.STRING,timezone = "GMT+8")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    
	/**
	 * 类型id
	 */
    private String type;
    
	/**
	 * 类型名
	 */
    private String TypeName;
    
	/**
	 * 机构id
	 */
    private String organId;
    
    
	/**
	 * 截止日期
	 */
    @JsonFormat(pattern = "yyyy-MM-dd",shape = Shape.STRING,timezone = "GMT+8")
	@DateTimeFormat(pattern="yyyy-MM-dd")
    private Date finishDate;
    
	/**
	 * 创建人id
	 */
    private String createId;
    

	/**
	 * 创建人name
	 */
    private String createName;
    
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTypeName() {
		return TypeName;
	}

	public void setTypeName(String typeName) {
		TypeName = typeName;
	}



	public Date getFinishDate() {
		return finishDate;
	}

	public void setFinishDate(Date finishDate) {
		this.finishDate = finishDate;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public String getOrganId() {
		return organId;
	}

	public void setOrganId(String organId) {
		this.organId = organId;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

    
    
}
